--License
--	This file is part of AssTermo.
--
--    AssTermo is free software: you can redistribute it and/or modify it
--    under the terms of the GNU General Public License as published by
--    the Free Software Foundation, either version 3 of the License, or
--    (at your option) any later version.
--
--    AssTermo is distributed in the hope that it will be useful, but WITHOUT
--    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
--    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
--    for more details.
--
--    You should have received a copy of the GNU General Public License
--    along with AssTermo.  If not, see <http://www.gnu.org/licenses/>.
--
--Description
--    Main File

--
COPYRIGHT = string.uchar(0xa9)
DEGREE = string.uchar(0xb0)
SUPER_2 = string.uchar(0xb2)
SUPER_3 = string.uchar(0xb3)
MICRO = string.uchar(0xb5)
ARING = string.uchar(0xc5)
SUBSCRIPT_2 = string.uchar(0x2082)
NEGATIVE = string.uchar(0x2212)
PLACE_OF_INTEREST = string.uchar(0x2318)
EE = string.uchar(0xf000)
--

function tr(str)
	return str
end

function NotImp() -- "Not Implemented Function" disclaimer

end

menu = {
	{tr("Water"),
	   {tr("Search for P and/or T"),NotImp},
	   {tr("Search for h and P"),NotImp},
	   {tr("Search for s and P (Table)"),NotImp},
	   {tr("Search for s and P (Saturated Liquid)"),NotImp},
	   {tr("Search for v and P"),NotImp},
	   {tr("Search for u and P"),NotImp}
	},
	{tr("Ammonia"),
	   {tr("Search for P and/or T"),NotImp},
	   {tr("Search for h and P"),NotImp},
	   {tr("Search for s and P (Table)"),NotImp},
	   {tr("Search for s and P (Saturated Liquid)"),NotImp},
	   {tr("Search for v and P"),NotImp},
	   {tr("Search for u and P"),NotImp}
	},
	{tr("Refrigerant R22"),
	   {tr("Search for P and/or T"),NotImp},
	   {tr("Search for h and P"),NotImp},
	   {tr("Search for s and P (Table)"),NotImp},
	   {tr("Search for s and P (Saturated Liquid)"),NotImp},
	   {tr("Search for v and P"),NotImp},
	   {tr("Search for u and P"),NotImp}
	},
	{tr("Refrigerant R134a"),
	   {tr("Search for P and/or T"),NotImp},
	   {tr("Search for h and P"),NotImp},
	   {tr("Search for s and P (Table)"),NotImp},
	   {tr("Search for s and P (Saturated Liquid)"),NotImp},
	   {tr("Search for v and P"),NotImp},
	   {tr("Search for u and P"),NotImp}
	},
	{tr("Propane"),
	   {tr("Search for P and/or T"),NotImp},
	   {tr("Search for h and P"),NotImp},
	   {tr("Search for s and P (Table)"),NotImp},
	   {tr("Search for s and P (Saturated Liquid)"),NotImp},
	   {tr("Search for v and P"),NotImp},
	   {tr("Search for u and P"),NotImp}
	},
	{tr("Molar masses and R's"),
	   {tr("Acetylene"),NotImp},
	   {tr("Air (equivalent)"),NotImp},
	   {tr("Ammonia"), NotImp},
	   {tr("Argon"),NotImp},
	   {tr("Benzene"),NotImp},
	   {tr("Carbon"),NotImp},
	   {tr("Carbon dioxide"),NotImp},
	   {tr("Carbon monoxide"),NotImp},
	   {tr("Copper"),NotImp},
	   {tr("Ethane"),NotImp},
	   {tr("Ethyl alcohol"),NotImp},
	   {tr("Ethylene"),NotImp},
	   {tr("Helium"),NotImp},
	   {tr("Hydrogen"),NotImp},
	   {tr("Methane"),NotImp},
	   {tr("Methyl alcohol"),NotImp},
	   {tr("Octane"),NotImp},
	   {tr("Oxygen"),NotImp},
	   {tr("Propane"),NotImp},
	   {tr("Propylene"),NotImp},
	   {tr("Refrigerant 12"),NotImp},
	   {tr("Refrigerant 22"),NotImp},
	   {tr("Refrigerant 134a"),NotImp},
	   {tr("Sulfur dioxide"),NotImp},
	   {tr("Water"),NotImp}
	},
	{tr("Specific Heat"),
		{tr("Search for T"),NotImp},
		{tr("Search for cp"),NotImp},
		{tr("Search for cv"),NotImp},
		{tr("Search for cp/cv"),NotImp},
		{tr("View Table"),NotImp}
	},
	{tr("Psychrometrics Assistant"),

		{tr("Pressure (bar):"),NotImp},

		{tr("Obtain w"),
			{tr("w: With pv",NotImp},
			{tr("w: With HR and T",NotImp},
			{tr("w: With the masses",NotImp}
		},

		{tr("Obtain HR"),
			{tr("HR: With T and w",NotImp},
			{tr("HR: With T and pv",NotImp},
			{tr("HR: With pv and pvSat",NotImp}
		},
		{tr("Obtain h with T and w",NotImp},
		{tr("Obtain p->T or T->p",
			{tr("Obtain pvSat with T",NotImp},
			{tr("Obtain T with pvSat",NotImp},
		},
		{tr("Obtain steam p (pv)",
			{tr("pv: With HR and T",NotImp},
			{tr("pv: With w",NotImp},
		},
		{tr("Calculate masses",
			{tr("(m,w) -> (ma,mv)",NotImp},
			{tr("(ma,w) -> (mv)",NotImp},
			{tr("(mv,w) -> (ma)",NotImp},
			{tr("(m,mv) -> (ma)",NotImp},
			{tr("(m,ma) -> (mv)",NotImp},
			{tr("(ma,mv) -> (m)",NotImp},
		},
		{tr("Psychrometrics Diagram",
			{tr("Add points",NotImp},
			{tr("Change points",NotImp},
			{tr("Remove points",NotImp},
			{tr("Intersect straight lines",NotImp},
			{tr("View Diagram",NotImp},
			{tr("Obtain hs and hl",NotImp},
			{tr("Points info",NotImp},
			{tr("Clear All",NotImp},
		},
	},
	{tr("Air Table",
		{tr("Search for T"),NotImp},
		{tr("Search for h",NotImp},
		{tr("Search for u",NotImp},
		{tr("Search for s0",NotImp},
		{tr("Search for pr",NotImp},
		{tr("Search for vr",NotImp},
		{tr("View Table"),NotImp}
	},
	{tr("Combustion Assistent",
		{tr("Ideal Gases Properties",NotImp},
		{tr("TermoChemical Properties",NotImp},
		{tr("Log10(K)",NotImp},
		{tr("(T\V)mode:",NotImp},
		{tr("Chemical Solver",
			{tr("Equation:"),
				{tr("Add Reagents:"),NotImp}
				{tr("Add Products:"),NotImp}
				{tr("Alterar Reagents"),NotImp}
				{tr("Alterar Products"),NotImp}
				{tr("Remove Reagents"),NotImp}
				{tr("Remove Products"),NotImp}
				{tr("See Equations"),NotImp}
				{tr("Solve Unknowns"),NotImp}
				{tr("Clear Equations"),NotImp}
			}
			{tr("Calculate Total Enthalpies"),NotImp}
			{tr("Calcule Intermediate Temperatures"),NotImp}
			{tr("See Listed Enthalpies"),NotImp}
			{tr("Clear Enthalpies"),NotImp}
		},
	},
	{tr("Interpolations",NotImp},
	{"---"},
	{tr("About AssTermo-D"),NotImp}
}

toolpalette.register(menu)

-- End of Main File
